package ar.com.vates.ejercicio1;

import java.sql.Time;

public class Contador implements Runnable {

	@Override
	public void run() {		
		int i = 0;
		while(i<101){
			
			try {				
				if(i%10==0)
					System.out.println("Ejecucion nro: " + i + " Tiempo: "+ i*1000 + " miliseg");
				else
					System.out.println(i);
				Thread.sleep(1000);
				i++;
			} catch (InterruptedException e) {
				
				e.printStackTrace();
			}
		}
		
	}

}
